import request from '@/utils/request'

export function login(data) {
  return request({
    url: '/system/adminLogin',
    method: 'post',
    data
  })
}

export function getInfo() {
  return request({
    url: '/system/roles',
    method: 'post',
  })
}


export function getUserList(data) {
  return request({
    url: 'system/customerList',
    method: 'post',
    data:data
  })
}



export function getUserPayCount(data) {
  return request({
    url: 'system/getCustomerPayInfo',
    method: 'post',
    data:data
  })
}
